import type { KnowledgePage, KnowledgeParams } from '@/types/consult'
import { request } from '@/utils/request'

/**
 * @description: 获取文章分页数据  关注/推荐/减肥/饮食
 * @param {KnowledgeParams} params
 */
export const getKnowledgePage = (params: KnowledgeParams) => {
  return request<KnowledgePage>('patient/home/knowledge', 'get', params)
}
